combobox: Avoid a misleading indentation
authorMatthias Clasen <mclasen@redhat.com>
Sun, 31 Jan 2016 03:50:54 +0000 (22:50 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 31 Jan 2016 03:50:54 +0000 (22:50 -0500)
gcc 6 warns about this sort of thing. There were also some
stray ; here.

gtk/gtkcombobox.c

index f5661d34c67be4f92be64dcf018e5abf46c891bc..628f708d47f0007bbb9f52086b7c5bf9547e8a2c 100644 (file)
@@ -4758,12 +4758,10 @@ gtk_combo_box_update_title (GtkComboBox *combo_box)
 
   gtk_combo_box_check_appearance (combo_box);
 
-  if (priv->popup_widget &&
-      GTK_IS_MENU (priv->popup_widget))
-G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
-    gtk_menu_set_title (GTK_MENU (priv->popup_widget),
-                        priv->tearoff_title);
-G_GNUC_END_IGNORE_DEPRECATIONS;
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
+  if (priv->popup_widget && GTK_IS_MENU (priv->popup_widget))
+    gtk_menu_set_title (GTK_MENU (priv->popup_widget), priv->tearoff_title);
+G_GNUC_END_IGNORE_DEPRECATIONS
 }
 
 /**